We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { UnreadyBanner } from "src/components/site/Unready";
import { ProfileScreen } from "src/screens/profile/ProfileScreen";
import { profileGet } from "@/api/openapi-server/profiles";
import { getServerSession } from "@/auth/server-session";
import { getSettings } from "@/lib/settings/settings-server";
type Props = {
params: Promise<{ handle: string }>;
};
export default async function Page(props: Props) {
const params = await props.params;
try {
const { handle } = params;
const session = await getServerSession();
const settings = await getSettings();
const { data } = await profileGet(handle);
return (
<ProfileScreen
initialSession={session}
profile={data}
initialSignatureConfig={settings.metadata.signatures}
/>
);
} catch (e) {
return <UnreadyBanner error={e} />;
}
}